﻿using System;
using System.Collections.Generic;
using System.Text;
using Validate.Library;

namespace Authority.Model
{
    /// <summary>
    /// 角色修改请求信息
    /// </summary>
    public class RoleModifyRequest
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        [Validate(ValidateType.NotEmpty | ValidateType.MaxLength, MaxLength = 50, Description = "唯一标识符")]
        public string gCode
        {
            get; set;
        }

        /// <summary>
        /// 角色名称
        /// </summary>
        [Validate(ValidateType.NotEmpty | ValidateType.MaxLength, MaxLength = 25, Description = "角色名称")]
        public string sName
        {
            get; set;
        }


        /// <summary>
        /// 备注
        /// </summary>
        public string sContent
        {
            get; set;
        }
    }
}
